// 搜索框搜索热词
function show() {
  var show = document.getElementsByClassName("search-list");
  show[0].style.display = "block";
}

function not_show() {
  var not_show = document.getElementsByClassName("search-list");
  not_show[0].style.display = "none";
}

// nav栏下拉列表
var navBottom = document.getElementsByClassName("nav-list");
for (i = 0; i < navBottom.length; i++) {
  navBottom[i].onmouseover = function () {
    var nav = document.getElementsByClassName("nav");
    nav[0].style.borderBottom = "1px solid #e0e0e0";
  };
}
for (i = 0; i < navBottom.length; i++) {
  navBottom[i].onmouseout = function () {
    var nav = document.getElementsByClassName("nav");
    nav[0].style.borderBottom = "none";
  };
}
